package com.smcaiot.filesync.starter.service;

import com.smcaiot.filesync.starter.entity.JftTaskFeedbackPic;
import com.smcaiot.filesync.starter.entity.RemoteInfo;
import com.smcaiot.filesync.starter.handler.impl.AbstractPushFileHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: cz
 * @Date: 2023/6/29
 * @Description:
 */
@Slf4j
@Service
public class MyPushFileHandler extends AbstractPushFileHandler<JftTaskFeedbackPic> {

    @Override
    public List<JftTaskFeedbackPic> findNotSyncList() {
        List<JftTaskFeedbackPic> pics = new ArrayList<>();
        pics.add(new JftTaskFeedbackPic().setSmallPicPath("/fs-policemanage/pic/small_123_1651218738483.png"));
        pics.add(new JftTaskFeedbackPic().setSmallPicPath("/fs-policemanage/pic/small_1651216880610_1651216885585.png"));
        //pics.add(new JftTaskFeedbackPic().setSmallPicPath("/fs-policemanage/pic/small_1111.png"));
        //pics.add(new JftTaskFeedbackPic().setSmallPicPath("/fs-policemanage/pic/small_12222.png"));
        return pics;
    }

    //@Override
    //public boolean finishSave(List pics) {
    //    return super.finishSave(pics);
    //}
    //
    //@Override
    //public boolean finishUpdate(List pics) {
    //    return super.finishUpdate(pics);
    //}

}
